<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class MathsController extends AppController{
    var $components = array('Math');
    function test_math(){
        $num1 = 1;
        $num2 = 3;
        $sum = $this->Math->addNumber($num1, $num2);
        $this->set('sum', $sum);
    }
}
?>
